// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import store from './store'
import cjcAPI from './cjcAPI'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import App from './App.vue'

Vue.use(iView)
// cjcJSapi载入
Vue.use(cjcAPI)

// 生产模式下是否提示
Vue.config.productionTip = false

new Vue({
    el: '#app',
    components: {
        App
    },
    template: '<App/>',
    router,
    store,
    beforeCreate() {
        this.$cjc.viewInit()
    }
})
